package com.mzpai.product.mapper;

import java.util.Map;

import org.springframework.stereotype.Repository;

import com.mzpai.mapper.BaseMapper;
import com.mzpai.product.model.SystemStoreExtract;

@Repository
public interface SystemStoreExtractMapper extends BaseMapper<SystemStoreExtract>{
	
	/**
	 * 根据主键查询审核信息
	 * @param map
	 * @return
	 */
	SystemStoreExtract queryByPrimaryId(Integer id);
	
	
	/**
	 * 获取最后一条失败或审核中数据
	 * @param map
	 * @return
	 */
	SystemStoreExtract queryLastStoreExtract(Map<String,Object> map);
	
	
}